"use strict";

(function () {
    var template = function template(self) {
        return "\n<aux-view class=\"aux-text\">" + self.innerHTML + "</aux-view>\n        ";
    };

    document.auiDefineElement("aux-text", {
        template: template,
        props: {
            "line": {
                "afterCreated": function afterCreated(self, newval) {
                    self.$ele.root.style["-webkit-line-clamp"] = newval;
                },
                "observer": function observer(self, oldval, newval) {
                    self.$ele.root.style["-webkit-line-clamp"] = newval;
                }
            }
        },
        created: function created(self) {
            self.$ele.root = self.children[0];
        }
    });
})();